<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<title><?php echo ($AGENT["name"]); ?></title>
<link href='/meirongtest/Public/Member/css/global.css' rel='stylesheet' type='text/css' />
<link href='/meirongtest/Public/Member/css/main.css' rel='stylesheet' type='text/css' />
<link href='/meirongtest/Public/Member/css/mall.css' rel='stylesheet' type='text/css' />
<script type='text/javascript' src='/meirongtest/Public/Member/js/jquery-1.7.2.min.js'></script>
<script type='text/javascript' src='/meirongtest/Public/Member/js/global.js'></script>
<script type='text/javascript' src='/meirongtest/Public/Member/js/project.js'></script>
<script type='text/javascript'>
var web_domain='/meirongtest';
var static_domain='/meirongtest';
var img_domain='/meirongtest';
var _PUBLIC_ = '/meirongtest/Public';
var _FILE_ = '<?php echo U('Index/ajaxFileUpload');?>';
var domain={
        www:'<?php echo C('WEB_ABSOLUTE_URL');?>',
        static:'<?php echo C('WEB_ABSOLUTE_URL');?>',
        img:'<?php echo C('WEB_ABSOLUTE_URL');?>',
        file:'<?php echo C('WEB_ABSOLUTE_URL');?>',
        kf:'<?php echo C('WEB_ABSOLUTE_URL');?>'
};
</script>
<link href='/meirongtest/Public/Member/css/wechat.css' rel='stylesheet' type='text/css' />
<script type='text/javascript' src='/meirongtest/Public/Member/js/wechat.js'></script>
<script type="text/javascript" src="/meirongtest/Public/Member/js/mall.js"></script>
<!--[if lte IE 9]><script src="__PUBIC__/Member/js/jquery.watermark-1.3.js"></script><![endif]-->
<script type='text/javascript' src='/meirongtest/Public/Member/js/operamasks-ui.min.js'></script>
<link href='/meirongtest/Public/Member/css/operamasks-ui.css' rel='stylesheet' type='text/css' />

<script language="javascript">
$(document).ready(project_obj.project_init);
</script>

</head>
<body>
<div id="iframe_page">
    <div class="iframe_content"> 
		<div class="r_nav">
		    <ul>
	            <li class="<?php if((ACTION_NAME) == "projectlist"): ?>cur<?php endif; ?>"><a href="<?php echo U('Project/projectlist');?>">作品管理</a></li>
				<li><a href="<?php echo U('Coupon/coupon');?>">优惠券列表</a></li>
				<li class="<?php if((ACTION_NAME) == "review"): ?>cur<?php endif; ?>"><a href="<?php echo U('Review/review');?>">评论列表</a></li>
          	</ul>
		</div>
		
	<div id="scratch" class="r_con_wrap">
	<div class="control_btn">
		<a href="<?php echo U('projectAdd');?>" class="btn_green btn_w_120">添加作品</a>
	</div>
	<table class="r_con_table" border="0" cellpadding="5" cellspacing="0">
		<thead>
			<tr>
				<td width="5%">序号</td>
				<td width="10%">类型</td>
				<td width="10%">名称</td>
				<td width="5%">原价</td>
				<td width="5%"><?php if($proorder['order'] == 1): ?><span class="price_sort ">现价<span class="sort_icon">↑</span></span><?php else: ?><span class="price_sort up_sort">现价<span class="sort_icon">↓</span></span><?php endif; ?></td>
				<td width="5%">服务时间</td>
				<td width="5%">购买人数</td>
				<td width="5%">收藏人数</td>
				<td class="last" width="5%">操作</td>
			</tr>
		</thead>
		<tbody> 
		<?php if(is_array($list)): foreach($list as $key=>$vo): ?><tr>
			<td align="center"><?php echo ($key+1); ?></td>
			<td align="center"><?php echo ($vo["type"]); ?></td>
            <td align="center"><?php echo ($vo["project_name"]); ?></td>
            <td align="center"><?php echo ($vo["old_price"]); ?></td>
            <td align="center"><?php echo ($vo["project_price"]); ?></td>
            <td align="center"><?php echo ($vo["pib_time"]); ?></td>
            <td align="center"><?php echo ($vo["has_buy_num"]); ?></td>
            <td align="center"><?php echo ($vo["collect_num"]); ?></td>
            <td mid="<?php echo ($vo["id"]); ?>">
	            <a href="<?php echo U('Project/projectAdd',array('id'=>$vo['id']));?>"><img src="/meirongtest/Public/member/images/ico/mod.gif"></a>
	            <a href="#del" url="<?php echo U('Project/projectDel');?>"><img src="/meirongtest/Public/member/images/ico/del.gif"></a>
            </td>
        </tr><?php endforeach; endif; ?>	</tbody>
	</table>

</div>
	<div id="turn_page">
		<?php echo ($page); ?>
	</div>

	</div>
</div>
</body>
</html>